﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class SelectionList_SingleSelectionListExample : System.Web.UI.MobileControls.MobilePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Command1.Click +=
             new System.EventHandler(this.HandleTeamSelection);

    }
    
    private void HandleTeamSelection(Object source, EventArgs args)
    {
        // Display the Stats page
        this.ActiveForm = Form2;
        String selectedTeamStats = SelectionList1.Selection.Value;
        Label4.Text = SelectionList1.Selection + ": " + selectedTeamStats;
    }
}